package com.threefish.modules.sys.entity.monitor;

import com.threefish.common.entity.AbstractBaseEntity;
import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;

/**
 * @author 黄川 306955302@qq.com
 * @date: 2018/6/12
 * 描述此类：
 */
@Table("sys_operate_log_${ym}")
@Comment("系统操作日志")
public class OperateLog extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @Id
    @Column
    int id;

    @Comment("访问人")
    @Column("userid")
    private String userid;

    @Comment("访问人姓名")
    @Column("userDesc")
    private String userDesc;

    @Comment("访问人部门")
    @Column("deptId")
    private String deptId;

    @Comment("访问人部门名称")
    @Column("deptDesc")
    private String deptDesc;

    @Comment("功能名称")
    @Column("name")
    private String name;

    @Comment("java方法")
    @Column("source")
    private String source;

    @Comment("访问路径")
    @Column("path")
    private String path;

    @Comment("路径参数")
    @Column("pathArg")
    @ColDefine(width = 500)
    private String pathArg;

    @Comment("路径参数")
    @Column("parameterMapJson")
    @ColDefine(type = ColType.TEXT)
    private String parameterMapJson;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUserDesc() {
        return userDesc;
    }

    public void setUserDesc(String userDesc) {
        this.userDesc = userDesc;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptDesc() {
        return deptDesc;
    }

    public void setDeptDesc(String deptDesc) {
        this.deptDesc = deptDesc;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPathArg() {
        return pathArg;
    }

    public void setPathArg(String pathArg) {
        this.pathArg = pathArg;
    }

    public String getParameterMapJson() {
        return parameterMapJson;
    }

    public void setParameterMapJson(String parameterMapJson) {
        this.parameterMapJson = parameterMapJson;
    }
}
